#ifndef APPLICATION_H
#define APPLICATION_H

#include <QtCore>
#include <QtGui>
#include <QtSql>

#include <qtsingleapplication.h>

class Application : public QtSingleApplication
{
    Q_OBJECT
public:
    explicit Application(const QString &id, int &argc, char **argv);

protected:
    bool prepareDirectory(const QString &a_abs_path);
    QString prepareMDB();
    QSqlDatabase openDB();
    QString getDownloadExe();

    QSqlDatabase f_db;

public:
    QString f_download_exe;

signals:
    
public slots:
    
};

#endif // APPLICATION_H
